package T3;

public class Demo {
    public static void main(String[] args) {
        Rabbit r = new Rabbit();
        r.eat();
        r.sleep();
        System.out.println("--------------------------");
        Tiger t = new Tiger();
        t.eat();
        t.sleep();
    }
}
